/*           Copyright(c) 2005-2008 Dave Sexton            *
 *                   HtmlEditor Control                    *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using mshtml;

namespace DaveSexton.Controls.Native
{
	/// <remarks>
	/// This class is required, instead of the definition in the <strong>MSHtml</strong> PIA, since this
	/// interface has methods that accept an <see cref="IHTMLEditDesigner" /> implementation as a
	/// parameter.  That interface has been redefined as well, so the <strong>MSHtml</strong> version 
	/// of this interface	is incompatible.
	/// </remarks>
	[Guid("3050F812-98B5-11CF-BB82-00AA00BDCE0B")]
	[InterfaceType(1)]
	internal interface IHTMLEditServices2 : IHTMLEditServices
	{
		void AddDesigner(IHTMLEditDesigner designer);
		void RemoveDesigner(IHTMLEditDesigner designer);
		void FreezeVirtualCaretPos(int fReCompute);
		void MoveToSelectionAnchorEx(IDisplayPointer pIStartAnchor);
		void MoveToSelectionEndEx(IDisplayPointer pIEndAnchor);
		void UnFreezeVirtualCaretPos(int fReset);
	}
}
